package com.ifdom.lamada.onemethod;

/**
 * @Author ifredomvip@gmail.com
 * @Date 2022/9/29 21:59
 */
public class OneMethodLambda {
    public static void main(String[] args) {

        OneMethodLambdaInterface b = (x) -> x.length();
        int wordLen = b.onlyOneMethod("oneMethod");
        System.out.println(wordLen);
    }
}
